package per.zzzfwd.query;

public class LiteralValue implements Value, Renderable {

    private Object literal;

    public LiteralValue(Object literal) {
        this.literal = literal;
    }

    public Object getLiteral() {
        return literal;
    }

    @Override
    public String render() {
        return literal == null ? "null" : literal.toString();
    }
}
